package com.nz2004.smsplatform.common.enums;

import lombok.Getter;

/**
 * @author ReJoice
 */

@Getter
public enum InterfaceExceptionEnums {
    INTERFACE_MOBILE(0,"接收成功,有错误手机号"),
    INTERFACE_CLIENTID_ERROR(101,"认证错误：clientId错误"),
    INTERFACE_PWD_ERROR(102,"密码错误"),
    INTERFACE_IP_ADDRESS_ERROR(103,"IP校验错误"),
    INTERFACE_MESSAGE_CONTENT_ERROR(104,"消息长度错，为空或超长（目前定为500个字）"),
    INTERFACE_MOBILE_ERROR(105,"手机号错误"),
    INTERFACE_SRCID_ERROR(106,"下行编号（srcID）错误")
    ;

    private Integer code;

    private String msg;

    InterfaceExceptionEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
